Automattic\WooCommerce\Blocks\Utils\StyleAttributesUtils B

Total Complexity 98
Dependencies 0
Dependents 26
Total lines 760
Lines of code 431
Logical lines of code 201
Comment lines 211
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
get_border_color_class_and_style()
A
49 9 30
get_classes_and_styles_by_attributes()
A
42 7 58
get_background_color_class_and_style()
S
51 7 27
get_align_class_and_style()
S
50 6 34
get_border_width_class_and_style()
S
54 6 20
get_border_style_class_and_style()
S
54 6 20
get_border_radius_class_and_style()
S
51 5 25
get_text_color_class_and_style()
S
54 5 21
get_font_size_class_and_style()
S
55 5 19
array_get_value_by_path()
S
61 4 12
get_link_hover_color_class_and_style()
S
58 3 15
get_link_color_class_and_style()
S
58 3 15
get_padding_class_and_style()
S
59 3 14
get_margin_class_and_style()
S
59 3 14
get_color_value()
S
67 3 7
get_spacing_value()
S
67 3 7
get_letter_spacing_class_and_style()
S
63 2 10
get_line_height_class_and_style()
S
63 2 10
get_font_style_class_and_style()
S
63 2 10
get_font_family_class_and_style()
S
64 2 10
get_text_align_class_and_style()
S
65 2 9
get_text_decoration_class_and_style()
S
63 2 10
get_text_transform_class_and_style()
S
63 2 10
get_font_weight_class_and_style()
S
63 2 10
get_preset_value()
S
80 1 3
get_classes_by_attributes()
S
74 1 4
join_styles()
S
78 1 3
get_styles_by_attributes()
S
74 1 4